package com.unisal.java;

public class OfuroComandoDesliga implements Comando {

	Ofuro ofuro;

	public OfuroComandoDesliga(Ofuro ofuro) {
		this.ofuro = ofuro;
	}

	public void execute() {
		ofuro.setTemperature(98);
		ofuro.off();
	}
	public void voltar() {
		ofuro.on();
	}

}
